package org.jeecg.modules.yw.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecg.common.aspect.annotation.Dict;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("lostsome")
public class LostSome {
    @TableField("id")
    @ApiModelProperty(value = "主键id")
    private String id;
    @TableField("enterPriseId")
    @ApiModelProperty(value = "员工id")
    @Dict(dictTable = "enterprise",dicCode = "id", dicText = "name")
    private String enterPriseId;
    @TableField("orderId")
    @Dict(dictTable = "`order`",dicCode = "id" )
    @ApiModelProperty(value = "订单id")
    private String orderId;
    @TableField("orderNo")
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @TableField("picture")
    @ApiModelProperty(value = "图片路径")
    private String picture;
    @TableField("goodName")
    @ApiModelProperty(value = "报损物品名称")
    private String goodName;
    @TableField("lostText")
    @ApiModelProperty(value = "报损内容描述")
    private String lostText;
    @TableField("createTime")
    @ApiModelProperty(value = "下单被调用时的当前时间")
    private String createTime;
    @TableField("lostStatus")
    @ApiModelProperty(value = "报损状态 0:未处理 1:已处理")
    private Integer lostStatus;
}
